package com.hunan.api.catv.service.impl.mix;

import com.hunan.api.catv.dao.BaseDao;
import com.hunan.api.catv.dao.MixRecommendDao;
import com.hunan.api.catv.entity.po.MixRecommend;
import com.hunan.api.catv.entity.vo.MixRecommendVo;
import com.hunan.api.catv.service.impl.CommonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 混合推荐
 */
@Service
public class MixRecommendService extends CommonService<MixRecommend, MixRecommendVo, Integer> {
    @Autowired
    public MixRecommendDao mixRecommendDao;

    @Override
    public BaseDao<MixRecommend, MixRecommendVo, Integer> getBaseDao() {
        return mixRecommendDao;
    }

    public Integer totalNum() {
        return mixRecommendDao.totalNum();
    }
}
